package com.ruoyi.order.station.operate.cmd;

import com.github.s7connector.api.annotation.S7Variable;
import com.github.s7connector.impl.utils.S7Type;
import lombok.Data;

@Data
public class OP12Extend {
    //螺丝订单号
    @S7Variable(byteOffset=0, arraySize=20, type= S7Type.BYTE)
    public byte[] screwOrdId;
    //螺丝物料号
    @S7Variable(byteOffset=20, arraySize=20, type= S7Type.BYTE)
    public byte[] screwMaterialNo;
    //螺丝批次号
    @S7Variable(byteOffset=40, arraySize=50, type= S7Type.BYTE)
    public byte[] screwBatchNo;
    //螺丝数量
    @S7Variable(byteOffset=90, bitOffset=0, type= S7Type.WORD)
    public Integer screwQuantity;
    //螺丝产品日期
    @S7Variable(byteOffset=92, arraySize=20, type= S7Type.BYTE)
    public byte[] screwDate;

    //扎带订单号
    @S7Variable(byteOffset=112, arraySize=20, type= S7Type.BYTE)
    public byte[] ribbonOrdId;
    //扎带物料号
    @S7Variable(byteOffset=132, arraySize=20, type= S7Type.BYTE)
    public byte[] ribbonMaterialNo;
    //扎带批次号
    @S7Variable(byteOffset=152, arraySize=50, type= S7Type.BYTE)
    public byte[] ribbonBatchNo;
    //扎带数量
    @S7Variable(byteOffset=202, bitOffset=0, type= S7Type.WORD)
    public Integer ribbonQuantity;
    //扎带产品日期
    @S7Variable(byteOffset=204, arraySize=20, type= S7Type.BYTE)
    public byte[] ribbonDate;
}
